export default ({ request }) => ({
  /**
   * @description 获取小车运行轨迹列表
   * @param {Object} data
   */
  GET_CAR_TRACK_LIST(data) {
    return request({
      url: "/budwk/smartlc/lc/pedestalinfomng/list",
      method: "post",
      data: data,
    });
  },
  /**
   * @description 添加小车运行轨迹
   * @param {Object} data
   */
  CREATE_CAR_TRACK(data) {
    return request({
      url: "/budwk/smartlc/lc/pedestalinfomng/create",
      method: "post",
      data: data,
    });
  },
  /**
   * 获取小车列表
   * @param {*} data 
   * @returns 
   */
  GET_CAR_LIST(data) {
    return request({
      url: "/budwk/smartlc/lc/pedestalmng/list",
      method: "post",
      data: data,
    });
  },
  /**
   * 获取小车当前位置列表
   * @param {*} data 
   * @returns 
   */
  GET_CAR_POSITION_LIST(data) {
    return request({
      url: "/budwk/smartlc/lc/pedestalinfomng/last/list",
      method: "post",
      data: data,
    });
  }
});
